import React, { useState } from 'react';
// import { find } from '../services/order';

export default function shot() {
    // let [shot, setShot] = useState([]);
    // let [pagination, setPagination] = useState({
    //     showSizeChanger: true,
    //     showQuickJumper: true,
    //     showTotal: (total) => `总共 ${total} 条`,
    //     pageSizeOptions: [5, 10, 15, 20],
    // });

    // let [searchObj, setSearchObj] = useState({});

    // const show = async (params) => {
    //     if (params) {
    //         if (!params.current) {
    //             params.current = 1;
    //             params.pageSize = pagination.pageSize;
    //         }
    //         params = { ...searchObj, ...params };
    //         setSearchObj(params);
    //     } else {
    //         params = searchObj;
    //     }
    //     let { data } = await find(params);

    //     setShot(data.rows);
    //     setPagination({
    //         ...pagination,
    //         total: data.total,
    //         pageSize: data.pageSize,
    //     });
    // };



    return (
        <div>商品快照</div>
    )
}
